<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>注册</title>
<link rel="stylesheet" type="text/css" href="{{ asset('css2/style.css') }}" />
<link rel="stylesheet" type="text/css" href="{{ asset('css2/shopping-mall-index.css') }}" />
<script type="text/javascript" src="{{ asset('js/jquery.js') }}"></script>
<script type="text/javascript" src="{{ asset('js/zhonglin.js') }}"></script>
<script type="text/javascript" src="{{ asset('js/zhongling2.js') }}"></script>

<!-- 
 //        $(function (){
           
 //            $("input").focus(function (){
 //                var val = $(this).prev().html();
 //                console.log(val);
 //                switch(val){
 //                   case "用户名": 
 //                 $("<span>请输入正确的"+val+"信息</span>").insertAfter($(this));
 //                 break;
 //                  case "输入密码": 
 //                 $("<span>请输入正确的"+val+"信息</span>").insertAfter($(this));
 //                 break;
 //               }
               
 //            }).blur(function (){
 //                $(this).next().remove();
 //            });


 //        }); -->

</head>

<body>

    <!--header-->
    <div class="zl-header">
        <div class="zl-hd w1200">
            <p class="hd-p1 f-l">
                Hi!您好，欢迎来到当当图书网，请登录  <a href="{{ url('home/register')}}">【免费注册】</a>
            </p>
            <p class="hd-p2 f-r">
                <a href="{{ url('/home')}}">返回首页</a>
            </p>
            <div style="clear:both;"></div>
        </div>
    </div>
    
    <!--logo search weweima-->
    <div class="logo-search w1200">
        <div class="logo-box f-l">
            <div class="logo f-l">
                <a href="{{url('/home')}}" title="当当logo"><img src="{{ asset('images/ddnewhead_logo.gif')}}" /></a>
            </div>
            <div class="shangjia f-l">
                <a href="JavaScript:;" class="shangjia-a1">[ 切换城市 ]</a>
                <a href="JavaScript:;" class="shangjia-a2">商家入口</a>
                <div class="select-city">
            <div class="sl-city-top">
                <p class="f-l">切换城市</p>
                <a class="close-select-city f-r" href="JavaScript:;">
                    <img src="{{ asset('images/close-select-city.gif') }}" />
                </a>
            </div>
            <div class="sl-city-con">
                <p>西北</p>
                <dl>
                    <dt>重庆市</dt>
                    <dd>
                        <a href="JavaScript:;">长寿区</a>
                        <a href="JavaScript:;">巴南区</a>
                        <a href="JavaScript:;">南岸区</a>
                        <a href="JavaScript:;">九龙坡区</a>
                        <a href="JavaScript:;">沙坪坝区</a>
                        <a href="JavaScript:;">北碚</a>
                        <a href="JavaScript:;">江北区</a>
                        <a href="JavaScript:;">渝北区</a>
                        <a href="JavaScript:;">大渡口区</a>
                        <a href="JavaScript:;">渝中区</a>
                        <a href="JavaScript:;">万州</a>
                        <a href="JavaScript:;">武隆</a>
                        <a href="JavaScript:;">晏家</a>
                        <a href="JavaScript:;">长寿湖</a>
                        <a href="JavaScript:;">云集</a>
                        <a href="JavaScript:;">华中</a>
                        <a href="JavaScript:;">林封</a>
                        <a href="JavaScript:;">双龙</a>
                        <a href="JavaScript:;">石回</a>
                        <a href="JavaScript:;">龙凤呈祥</a>
                        <a href="JavaScript:;">朝天门</a>
                        <a href="JavaScript:;">中华</a>
                        <a href="JavaScript:;">玉溪</a>
                        <a href="JavaScript:;">云烟</a>
                        <a href="JavaScript:;">红塔山</a>
                        <a href="JavaScript:;">真龙</a>
                        <a href="JavaScript:;">天子</a>
                        <a href="JavaScript:;">娇子</a>
                    </dd>
                    <div style="clear:both;"></div>
                </dl>
                <dl>
                    <dt>新疆</dt>
                    <dd>
                        <a href="JavaScript:;">齐乌鲁木</a>
                        <a href="JavaScript:;">昌吉</a>
                        <a href="JavaScript:;">巴音</a>
                        <a href="JavaScript:;">郭楞</a>
                        <a href="JavaScript:;">伊犁</a>
                        <a href="JavaScript:;">阿克苏</a>
                        <a href="JavaScript:;">喀什</a>
                        <a href="JavaScript:;">哈密</a>
                        <a href="JavaScript:;">克拉玛依</a>
                        <a href="JavaScript:;">博尔塔拉</a>
                        <a href="JavaScript:;">吐鲁番</a>
                        <a href="JavaScript:;">和田</a>
                        <a href="JavaScript:;">石河子</a>
                        <a href="JavaScript:;">克孜勒苏</a>
                        <a href="JavaScript:;">阿拉尔</a>
                        <a href="JavaScript:;">五家渠</a>
                        <a href="JavaScript:;">图木舒克</a>
                        <a href="JavaScript:;">库尔勒</a>
                    </dd>
                    <div style="clear:both;"></div>
                </dl>
                <dl>
                    <dt>甘肃</dt>
                    <dd>
                        <a href="JavaScript:;">兰州</a>
                        <a href="JavaScript:;">天水</a>
                        <a href="JavaScript:;">巴音</a>
                        <a href="JavaScript:;">白银</a>
                        <a href="JavaScript:;">庆阳</a>
                        <a href="JavaScript:;">平凉</a>
                        <a href="JavaScript:;">酒泉</a>
                        <a href="JavaScript:;">张掖</a>
                        <a href="JavaScript:;">武威</a>
                        <a href="JavaScript:;">定西</a>
                        <a href="JavaScript:;">金昌</a>
                        <a href="JavaScript:;">陇南</a>
                        <a href="JavaScript:;">临夏</a>
                        <a href="JavaScript:;">嘉峪关</a>
                        <a href="JavaScript:;">甘南</a>
                    </dd>
                    <div style="clear:both;"></div>
                </dl>
                <dl>
                    <dt>宁夏</dt>
                    <dd>
                        <a href="JavaScript:;">银川</a>
                        <a href="JavaScript:;">吴忠</a>
                        <a href="JavaScript:;">石嘴山</a>
                        <a href="JavaScript:;">中卫</a>
                        <a href="JavaScript:;">固原</a>
                    </dd>
                    <div style="clear:both;"></div>
                </dl>
                <dl>
                    <dt>青海</dt>
                    <dd>
                        <a href="JavaScript:;">西宁</a>
                        <a href="JavaScript:;">海西</a>
                        <a href="JavaScript:;">海北</a>
                        <a href="JavaScript:;">果洛</a>
                        <a href="JavaScript:;">海东</a>
                        <a href="JavaScript:;">黄南</a>
                        <a href="JavaScript:;">玉树</a>
                        <a href="JavaScript:;">海南</a>
                    </dd>
                    <div style="clear:both;"></div>
                </dl>
            </div>
        </div>
            </div>
            <div style="clear:both;"></div>
        </div>
        <div class="erweima f-r">
            <a href="JavaScript:;"><img src="{{ asset('images/zl2-04.gif') }}" /></a>
        </div>
        <div class="search f-r">
           <div class="search-info">
            <form action="/home/search" method="get">
                <input type="text" name="name" placeholder="请输入商品名称" />
                <button>搜索</button>
            </form>
                <div style="clear:both;"></div>
            </div>
        </div>
        <div style="clear:both;"></div>
    </div>
    <!--内容开始-->
 <form action='/home/userinfo' method='post'>
                    <input type='hidden' name='_token' value='{{ csrf_token() }}'>
    <div class="password-con registered">
        <div class="psw">
            <p class="psw-p1">用户名</p>
            <input type="text"  name='login_name'  placeholder="请输入用户名" />
            <!-- <span class="dui"></span> -->
        </div>
        <div class="psw">
            <p class="psw-p1">输入密码</p>
            <input type="password"    name='password' placeholder="请输入密码" />
            <!-- <span class="cuo"></span> -->
        </div>
        <div class="agreement">
            <input type="checkbox" name="hobby"></input>
            <p>我有阅读并同意<span>《当当书城网站服务协议》</span></p>
        </div>
        <button class="psw-btn">立即注册</button>
        <p class="sign-in">已有账号？请<a href="{{ url('home/gologin')}}">登录</a></p>
    </div>
        <center>
        @if (count($errors) > 0)
                    <div class="alert alert-danger" style="">
                        <ul>
                            @foreach ($errors->all() as $error)
                                <li>{{ $error }}</li>
                            @endforeach
                        </ul>
                    </div>
                @endif
           </center>    
    </form>
    <!--底部一块-->
    <div class="footer-box">
        <ul class="footer-info1 w1200">
            <li>
                <div class="ft-tu1">
                    <a href="JavaScript:;"><img src="{{ asset('images/zl2-86.gif') }}" /></a>
                </div>
                <h3><a href="JavaScript:;">号码保障</a></h3>
                <P>所有会员，手机短信验证</P>
            </li>
            <li>
                <div class="ft-tu1">
                    <a href="JavaScript:;"><img src="{{ asset('images/zl2-87.gif') }}" /></a>
                </div>
                <h3><a href="JavaScript:;">6*12小时客服</a></h3>
                <P>有任何问题随时免费资讯</P>
            </li>
            <li>
                <div class="ft-tu1">
                    <a href="JavaScript:;"><img src="{{ asset('images/zl2-88.gif') }}" /></a>
                </div>
                <h3><a href="JavaScript:;">专业专攻</a></h3>
                <P>我们只专注于建筑行业的信息服务</P>
            </li>
            <li>
                <div class="ft-tu1">
                    <a href="JavaScript:;"><img src="{{ asset('images/zl2-89.gif') }}" /></a>
                </div>
                <h3><a href="JavaScript:;">注册有礼</a></h3>
                <P>随时随地注册有大礼包</P>
            </li>
            <li>
                <div class="ft-tu1">
                    <a href="JavaScript:;"><img src="{{ asset('images/zl2-90.gif') }}" /></a>
                </div>
                <h3><a href="JavaScript:;">值得信赖</a></h3>
                <P>专业的产品，专业的团队</P>
            </li>
            <div style="clear:both;"></div>
        </ul>
        <div class="footer-info2 w1200">
            <div class="ft-if2-left f-l">
                <dl>
                    <dt><a href="6-1服务协议.html">新手上路</a></dt>
                    <dd>
                        <a href="6-1服务协议.html">购物流程</a>
                        <a href="6-1服务协议.html">在线支付</a>
                        <a href="6-1服务协议.html">投诉与建议</a>
                    </dd>
                </dl>
                <dl>
                    <dt><a href="6-1服务协议.html">配送方式</a></dt>
                    <dd>
                        <a href="6-1服务协议.html">货到付款区域</a>
                        <a href="6-1服务协议.html">配送费标准</a>
                    </dd>
                </dl>
                <dl>
                    <dt><a href="6-1服务协议.html">购物指南</a></dt>
                    <dd>
                        <a href="6-1服务协议.html">订购流程</a>
                        <a href="6-1服务协议.html">购物常见问题</a>
                    </dd>
                </dl>
                <dl>
                    <dt><a href="6-1服务协议.html">售后服务</a></dt>
                    <dd>
                        <a href="6-1服务协议.html">售后服务保障</a>
                        <a href="6-1服务协议.html">退换货政策总则</a>
                        <a href="6-1服务协议.html">自营商品退换细则</a>
                    </dd>
                </dl>
                <div style="clear:both;"></div>
            </div>
            <div class="ft-if2-right f-r">
                <h3>400-2298-223</h3>
                <p>周一至周日  9:00-24:00</p>
                <p>（仅收市话费）</p>
            </div>
            <div style="clear:both;"></div>
        </div>
        <div class="footer-info3 w1200">
            <p>
                <a href="#">免责条款</a><span>|</span>
                <a href="#">隐私保护</a><span>|</span>
                <a href="#">咨询热点</a><span>|</span>
                <a href="#">联系我们</a><span>|</span>
                <a href="#">公司简介</a>
            </p>
            <p>
                <a href="#">沪ICP备13044278号</a><span>|</span>
                <a href="#">合字B1.B2-20130004</a><span>|</span>
                <a href="#">营业执照</a><span>|</span>
                <a href="#">互联网药品信息服务资格证</a><span>|</span>
                <a href="#">互联网药品交易服务资格证</a>
            </p>
            <div class="ft-if3-tu1">
                <a href="#"><img src="{{ asset('images/zl2-91.gif') }}" /></a>
                <a href="#"><img src="{{ asset('images/zl2-92.gif') }}" /></a>
                <a href="#"><img src="{{ asset('images/zl2-93.gif') }}" /></a>
            </div>
        </div>
    </div>
    
</body>
</html>
